package com.diver.flinkdemo.entity.xxt.xiaoyang;/**
 * @author yangs
 */

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**

 * @author  guofy

 * @create  2021-03-30 16:58

 * 学校多边形围栏

 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class PushSchoolPolygon extends XyBase implements Serializable {
    private static final long serialVersionUID = -8192540886927416412L;
    @JsonProperty(value = "FENCEDATA")
    private String FENCEDATA;//多边形顶点数量不超过20组，格式为: 39.154564,121.961085;39.157676,121.960785
    @JsonProperty(value = "FENCEID")
    private String FENCEID;//围栏ID
    @JsonProperty(value = "SCHOOLNAME")
    private String SCHOOLNAME;//学校名称
    @JsonProperty(value = "OPTTYPE")
    private Integer OPTTYPE;//0 新增;1 删除;2 修改

    @Override
    public String toString() {
        return "PushSchoolPolygon{" + "FENCEDATA='" + FENCEDATA + '\'' + ", FENCEID='" + FENCEID + '\'' + ", SCHOOLNAME='" + SCHOOLNAME + '\'' + ", OPTTYPE=" + OPTTYPE + '}';
    }

    public String getFENCEDATA() {
        return FENCEDATA;
    }

    public void setFENCEDATA(String FENCEDATA) {
        this.FENCEDATA = FENCEDATA;
    }

    public String getFENCEID() {
        return FENCEID;
    }

    public void setFENCEID(String FENCEID) {
        this.FENCEID = FENCEID;
    }

    public String getSCHOOLNAME() {
        return SCHOOLNAME;
    }

    public void setSCHOOLNAME(String SCHOOLNAME) {
        this.SCHOOLNAME = SCHOOLNAME;
    }

    public Integer getOPTTYPE() {
        return OPTTYPE;
    }

    public void setOPTTYPE(Integer OPTTYPE) {
        this.OPTTYPE = OPTTYPE;
    }
}
